package com.egobuy.cms.service;

import com.egobuy.entity.ContentCategory;
import com.baomidou.mybatisplus.extension.service.IService;
import com.egobuy.pojo.BuyResult;

import java.util.List;

/**
 * <p>
 * 内容分类 服务类
 * </p>
 *
 * @author 戴着假发的程序员
 * @since 2021-11-22
 */
public interface IContentCategoryService extends IService<ContentCategory> {
    BuyResult deleteCat(long id);
    BuyResult<ContentCategory> editCat(ContentCategory contentCategory);
    BuyResult<ContentCategory> saveCat(ContentCategory contentCategory);
    BuyResult<List<ContentCategory>> queryByParentId(long parentId);
}
